package sc.test.spring.mock;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;

import sc.common.test.TestUtil;

public class PostConstructBean {

    Bean bean;

    @Autowired
    OtherBiz otherBiz;

    @PostConstruct
    public void init() {
        TestUtil.sp("PostConstructBean.Init");
        bean.doSth();
        otherBiz.doSth();
    }

    public void setBean(Bean bean) {
        this.bean = bean;
    }
}
